<?php
// preprocess before rendering the view script
self::load('_html.php');
self::load('_breadcrumb.php');
self::load('_template', '_url');
_html::html5();

if(!defined('TEMPLATE_LINKS_BAR')) define('TEMPLATE_LINKS_BAR', 'template-link-bar');
if(!defined('TEMPLATE_LINKS_QUICK')) define('TEMPLATE_LINKS_QUICK', 'template-link-quick');
if(!defined('TEMPLATE_VERSION')) define('TEMPLATE_VERSION', 'v0.5');

$template_show_spotlight = true;
$template_show_breadcrumb = false;
$template_show_top_bar = true;
$template_show_navigation = true;

$arr_bar = array(
    'Call for FREE estimate (416) 464-6119' => null
);



$arr_nav = array(
   'Home' => '/',
   'Flyers & Promotions' => '/content',
   'Services'  => '/',
   'Contact Us' => '/'
);

$arr_links = $arr_nav;

foreach ($arr_bar as $key => $value) {
   _template::links($key, $value, TEMPLATE_LINKS_BAR);
}


foreach ($arr_links as $key => $value) {
   _template::navigations($key, $value);
}


foreach ($arr_nav as $key => $value) {
   _template::links($key, $value,TEMPLATE_LINKS_QUICK);
}



if(_url::url() == '/') {
   $template_show_spotlight = true;
} else {
   $template_show_spotlight = false;
}
